#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
int main(){
	pid_t myPid;
	pid_t myParentPid;
	gid_t myGid;
	uid_t myUid;
	
	myPid = getpid();
	myParentPid = getppid();
	myGid = getgid();
	myUid = getuid();
	
	
	printf("my process id is %d\n",myPid);
	printf("my parent is process id is %d\n", myParentPid);
	printf("my group id is %d\n", myGid);
	printf("my user id is %d\n", myUid);
	return 0;
}